%@LANGUAGE ="VBScript.Encode" CODEPAGE=1254%>
<%
SetLocale("en-gb")
if request("cur_date")="" then
MyDate1=date()
else
MyDateArry = request("cur_date")
MyDateArry = Split(MyDateArry,"/")
MyDate1 = DateSerial(MyDateArry(2),MyDateArry(0),MyDateArry(1))
if request("action")="addmonth" then
MyDate1=DateAdd("m", 1, MyDate1)
elseif request("action")="removemonth" then
MyDate1=DateAdd("m", -1, MyDate1)
end if
end if
MonthArry = Array("January","February","March","April","May","June","July","August","September","October","November","December")
'WeekdayArry = Array("Pts","Sal","Çar","Per","Cum","Cts","Paz","")
WeekdayArry = Array("Monday","Tuestday","Wednesday","Thursday","Friday","Saturday","Sunday","")
%>
<%
connopen
SQL = "SELECT * FROM EventItems WHERE DateSerial("&year(MyDate1)&","&month(MyDate1)&","&day(MyDate1)&")=evDate"
SET RS = ConnExec(SQL)
if not(rs.eof) then
do while not(rs.eof)%>
<%end if
if request("recID")<>"" then 'etkinlik detay
ConnOpen
SET RS = ConnExec("SELECT * FROM EventItems WHERE Auth=1 AND itID="&Request("RecID"))
if not(rs.eof) then %>
Name of the event
Name :
<%=rs("itTitle")%>
Date :
<%=regDate(rs("evDate"),2)%>
Time :
<%=rs("timeStart") & " - " & rs("timeEnd") %>
Place :
<%if rs("location")<>"" then response.write replace(rs("location"),VBCRLF," ")%>
Details:
<%desc=rs("desc")
if desc<>"" then response.write replace(desc,VBCRLF," ")%>